export default {
  // 分页
  pagination: {
    page: 'page'
  },
  // 公共字段
  publicTxts: {
    cancel: 'Cancel',
    confirm: 'Confirm',
    success: 'success'
  },
  route: {
    dashboard: 'Home',
    productManagement: 'Product management',
    productList: 'Product list',
    createProduct: 'Create product',
    orderManagement: 'Order management',
    orderList: 'Order list',
    orderDetails: 'Details',
    productGroup: 'Product group',
    editGroup: 'Product management',
    editProduct: 'Edit product',
    merchantManagement: 'Merchant Management'
  },
  navbar: {
    dashboard: 'Home',
    github: 'Github',
    logOut: 'Log Out',
    profile: 'Profile',
    theme: 'Theme',
    size: 'Global Size'
  },
  language: {
    tip: 'Switch Language Success'
  },
  login: {
    title: 'G+D Card Management System',
    logIn: 'Log In',
    username: 'Please enter your account/email',
    password: 'Password',
    startText: 'Swipe verification',
    successText: 'success',
    noName: 'Please enter your account/email',
    noPassword: 'Please enter password',
    noSwipe: 'Please swipe the verification code',
    locked: 'The account has been locked',
    erroPass: 'Incorrect account or password, please check',
    sequence: [
      { value: '0', label: 'By number (Big to small)' },
      { value: '1', label: 'By creation time (Reverse order)' },
      { value: '2', label: 'By creation time (Positive order)' }
    ],
    orderStatus: [
      { value: '', label: 'All' },
      { value: '1', label: 'Unpay' },
      { value: '2', label: 'Reviewing' },
      { value: '3', label: 'Waiting delivery' },
      { value: '4', label: 'Shipped' }
    ],
    types: [
      {
        value: 'type0',
        label: 'card'
      },
      {
        value: 'type1',
        label: 'general product'
      }
    ]
  },
  unbind: {
    emailVerification: 'Email verification',
    email: 'Email',
    code: 'Verification code',
    getCode: 'Get verification code',
    confirm: 'Confirm',
    getCodeTip: 'Captcha obtained successfully',
    successTip: 'Captcha obtained successfully'
  },
  changePassword: {
    title: 'Change password',
    newPassword: 'New password',
    confirmPassword: 'Confirm password',
    confirm: 'Confirm',
    getCodeTip: 'Captcha obtained successfully'
  },
  createProduct: {
    toBack: 'Return product list',
    title1: '1、Select product type',
    productType: 'Product type',
    cardDirection: 'Card direction',
    horizontal: 'Horizontal',
    ccri: 'Card color & Rear image',
    logo: 'Logo',
    direction: 'Card direction',
    vertical: 'Vertical',
    title2: '2. Edit the basic information',
    productName: 'Product name',
    nameTip: 'Please enter within 20 characters',
    productDescription: 'Product description',
    productDescriptionTip: 'Show the description below the product name, within 60 words',
    coverImage: 'Cover image',
    detailsImage: 'Details image',
    otherInformation: 'Other information',
    title3: '3、 Product price',
    productPrice: 'Product price',
    USD: 'USD',
    priceTip1: 'Whether to discount',
    priceTip2: 'The discount price must be less than the product price',
    discountPrice: 'Discount price',
    priceTip3: 'Whether to include tax',
    draft: 'Save to draft',
    draftTip: 'If you don’t want to sell the product, you can save it as a draft, and you can find it in the draft box',
    create: 'Put on sale',
    Save: 'Save',
    error0: 'Please select Horizontal or Vertical',
    error1: 'Please fill in Discount price',
    error2: 'Please fill in Tax rate',
    error3: 'The discount price cannot be higher than the product price',
    onSaleTip: 'Whether the shelf?',
    offSaleTip: 'Whether the shelves?',
    editSuccess: 'Update successfully'
  },
  rulesProduct: {
    img: 'Cover image is required',
    detailsImage: 'Details image is required',
    type: 'Product type is required',
    cardDirectionH: 'Card direction is required',
    cardDirectionV: 'Card direction is required',
    cardColorH: 'Card color & Rear image is required',
    cardColorV: 'Card color & Rear image is required',
    logoH: 'Logo is required',
    logoV: 'Logo is required',
    cardsVList: 'Rear image is required',
    productAttributes: 'Product attributes is required',
    productName: 'Product name is required',
    productPrice: 'Product price is required',
    discountPrice: 'Discount price is required',
    taxRate: 'Tax rate is required'
  },
  cardHForm: {
    titleForm: 'Input color information',
    name: 'Color name',
    RGB: 'Color RGB',
    image: 'Rear image',
    cancel: 'Cancel',
    confirm: 'Confirm'
  },
  cardHFormRules: {
    name: 'Color name is required',
    theme: 'Color RGB is required',
    image: 'Rear image is required',
    picturTip: 'You can only upload one picture at most',
    formatTip: 'The image format supports png、jpg、jpeg、gif'
  },
  merchantManagement: {
    account: 'Account',
    email: 'Email',
    addTitle: 'Create merchant',
    editTitle: 'Edit merchant',
    formName: 'Merchant name：',
    formNameTip: 'Please enter 2-30 digits merchant name：',
    formAccount: 'Merchant manager account：',
    formAccountTip: 'Please enter at least 6 digits account，Numbers/letters/symbols',
    formManagerName: 'Merchant manager name：',
    formManagerNameTip1: 'First name',
    formManagerNameTip2: 'Last name',
    formPassword: 'Initial password：',
    formPasswordTip: 'Use the initial password, verify the phone number/email after logging in, and change the password',
    cancel: 'Cancel',
    confirm: 'Confirm',
    success: 'success',
    create: 'Create merchant',
    createTip: 'You could create merchant account when a new merchant sign'
  },
  rulesManagement: {
    name: 'Merchant name is required',
    account: 'Merchant manager account is required',
    firstName: 'First name is required',
    lastName: 'Last name is required',
    password: 'Initial password is required',
    nolock: 'Has the merchant administrator account been locked and cannot be logged in?',
    lock: 'Do you want to unlock the merchant administrator account and then log in?',
    tip: 'Prompt',
    cancel: 'Cancel',
    confirm: 'Confirm',
    canceled: 'canceled'
  },
  merchantIndex: {
    changePassword: 'Change password',
    time: 'Creation time：',
    quantity: 'Products quantity',
    All: 'All',
    On: 'On sale',
    Off: 'Off sale',
    Enter: 'Enter shop',
    me: 'About me'
  },
  documentation: {
    documentation: 'Documentation',
    github: 'Github Repository'
  },
  permission: {
    addRole: 'New Role',
    editPermission: 'Edit',
    roles: 'Your roles',
    switchRoles: 'Switch roles',
    tips: 'In some cases, using v-permission will have no effect. For example: Element-UI  el-tab or el-table-column and other scenes that dynamically render dom. You can only do this with v-if.',
    delete: 'Delete',
    confirm: 'Confirm',
    cancel: 'Cancel'
  },
  guide: {
    description: 'The guide page is useful for some people who entered the project for the first time. You can briefly introduce the features of the project. Demo is based on ',
    button: 'Show Guide'
  },
  components: {
    documentation: 'Documentation',
    tinymceTips: 'Rich text is a core feature of the management backend, but at the same time it is a place with lots of pits. In the process of selecting rich texts, I also took a lot of detours. The common rich texts on the market have been basically used, and I finally chose Tinymce. See the more detailed rich text comparison and introduction.',
    dropzoneTips: 'Because my business has special needs, and has to upload images to qiniu, so instead of a third party, I chose encapsulate it by myself. It is very simple, you can see the detail code in @/components/Dropzone.',
    stickyTips: 'when the page is scrolled to the preset position will be sticky on the top.',
    backToTopTips1: 'When the page is scrolled to the specified position, the Back to Top button appears in the lower right corner',
    backToTopTips2: 'You can customize the style of the button, show / hide, height of appearance, height of the return. If you need a text prompt, you can use element-ui el-tooltip elements externally',
    imageUploadTips: 'Since I was using only the vue@1 version, and it is not compatible with mockjs at the moment, I modified it myself, and if you are going to use it, it is better to use official version.'
  },
  table: {
    dynamicTips1: 'Fixed header, sorted by header order',
    dynamicTips2: 'Not fixed header, sorted by click order',
    dragTips1: 'The default order',
    dragTips2: 'The after dragging order',
    title: 'Title',
    importance: 'Imp',
    type: 'Type',
    remark: 'Remark',
    search: 'Search',
    add: 'Add',
    export: 'Export',
    reviewer: 'reviewer',
    id: 'ID',
    date: 'Date',
    author: 'Author',
    readings: 'Readings',
    status: 'Status',
    actions: 'Actions',
    edit: 'Edit',
    publish: 'Publish',
    draft: 'Draft',
    delete: 'Delete',
    cancel: 'Cancel',
    confirm: 'Confirm'
  },
  example: {
    warning: 'Creating and editing pages cannot be cached by keep-alive because keep-alive include does not currently support caching based on routes, so it is currently cached based on component name. If you want to achieve a similar caching effect, you can use a browser caching scheme such as localStorage. Or do not use keep-alive include to cache all pages directly. See details'
  },
  errorLog: {
    tips: 'Please click the bug icon in the upper right corner',
    description: 'Now the management system are basically the form of the spa, it enhances the user experience, but it also increases the possibility of page problems, a small negligence may lead to the entire page deadlock. Fortunately Vue provides a way to catch handling exceptions, where you can handle errors or report exceptions.',
    documentation: 'Document introduction'
  },
  excel: {
    export: 'Export',
    selectedExport: 'Export Selected Items',
    placeholder: 'Please enter the file name (default excel-list)'
  },
  zip: {
    export: 'Export',
    placeholder: 'Please enter the file name (default file)'
  },
  pdf: {
    tips: 'Here we use window.print() to implement the feature of downloading PDF.'
  },
  theme: {
    change: 'Change Theme',
    documentation: 'Theme documentation',
    tips: 'Tips: It is different from the theme-pick on the navbar is two different skinning methods, each with different application scenarios. Refer to the documentation for details.'
  },
  tagsView: {
    refresh: 'Refresh',
    close: 'Close',
    closeOthers: 'Close Others',
    closeAll: 'Close All'
  },
  settings: {
    title: 'Page style setting',
    theme: 'Theme Color',
    tagsView: 'Open Tags-View',
    fixedHeader: 'Fixed Header',
    sidebarLogo: 'Sidebar Logo'
  }, // 管理员表
  merchantTable: {
    account: 'Account',
    merchantName: 'Merchant name',
    name: 'Name',
    email: 'Email',
    role: 'Role',
    status: 'Status',
    operationTime: 'Operating time',
    actions: 'Actions',
    locked: 'Locked',
    lockedTip: 'Locked Marchant will not be able to log in to the merchant system',
    unlocked: 'Unlocked',
    edit: 'Edit',

  }, // 商家管理
  goods: {
    productName: 'Product name',
    productType: 'Product type',
    productGroup: 'Product group',
    search: 'Search',
    addProduct: 'Create Product',
    addProductTip: 'You could create product for your shop when you sale somethings',
    placeholderSearch: 'Please enter product name or serial number',
    status: 'All products',
    status0: 'On sale',
    status1: 'Off sale',
    status3: 'Draft box',
    status2: 'Deleted',
    types: [{
      value: '',
      label: 'all'
    }, {
      value: 'type0',
      label: 'card'
    }, {
      value: 'type1',
      label: 'general product'
    }],
    groups: [{
      value: '',
      label: 'all'
    }]
  },
  goodsTable: {
    picture: 'Product Image',
    name: 'Product Name',
    code: 'code',
    type: 'Product Type',
    price: 'Price（USD）',
    status: 'Status',
    number: 'Number',
    operationTime: 'Operating time',
    operation: 'Operating',
    onSale: 'On sale',
    offSale: 'Off sale',
    onSaleTip: 'Only the product on sale can be sold',
    offSaleTip: 'Products off sale will not be available for purchase',
    edit: 'Edit',
    delete: 'Delete',
    disableTip1: 'Is product grouping enabled?', // 启用
    disableTip2: 'Is grouping of goods disabled?'// 禁用
  }, // 产品组
  editGroup: {
    returnList: 'Return product group',
    save: 'Confirm save',
    noin: 'Products not in group',
    in: 'Products in group',
    MoveOut: 'Move out',
    MoveIn: 'Move in'
  },
  productGroup: {
    groupName: 'Group name',
    createGroup: 'Create group',
    createGroupTip: 'Create a group for your products',
    search: 'Search'
  },
  productGroupCreate: {
    title0: 'Create product group',
    title1: 'Edit product group',
    name: 'Group name',
    nameTip: 'Please enter the group name 2-15 characters',
    Description: 'Description',
    sequence: 'Product sequence',
    sequenceTip: 'Please select product sequence'
  },
  productGroupTable: {
    groupName: 'Group name',
    description: 'Description',
    quantity: 'Quantity',
    sequence: 'Product sequence',
    status: 'Status',
    operating: 'Operating',
    enable: 'Enable',
    disable: 'Disable',
    edit: 'Edit',
    management: 'Product management',
    managementTip: 'You can manage the products in the group'
  }, // 订单管理
  orderForm: {
    orderTime: 'Order time',
    orderNumber: 'Order number',
    productName: 'Product name',
    orderStatus: 'Order status',
    search: 'Search'
  }, // 订单状态
  orderStatus: [
    { value: '', label: 'All' },
    { value: '1', label: 'Unpay' },
    { value: '2', label: 'Reviewing' },
    { value: '3', label: 'Waiting delivery' },
    { value: '4', label: 'Shipped' }
  ], // 订单表格
  orderTable: {
    orderTime: 'Order time',
    orderNumber: 'Order number',
    productName: 'Product name',
    quantity: 'Price（USD）× Quantity',
    grandTotal: 'Grand Total（USD）',
    orderStatus: 'Order status',
    operating: 'Operating',
    details: 'Details'
  }, // 订单详情
  orderDetails: {
    toBack: 'Return  order list',
    title0: 'Image information',
    title1: 'Order information',
    title2: 'Product information',
    title3: 'Payment information',
    title4: 'Delivery information',
    product: {
      productImage: 'Image',
      productName: 'Product name',
      price: 'Price',
      quantity: 'Quantity',
      productStatus: 'Image status'
    },
    payment: {
      paymentTime: 'Payment time',
      paymentNumber: 'Payment number',
      paymentChannel: 'Payment channel',
      paymentPrice: 'Payment price',
      refundTime: 'Refund time',
      refundNumber: 'Refund number',
      refundStatus: 'Refund status'
    },
    delivery: {
      purchaserName: 'Purchaser name',
      purchaserPhoneNumber: 'Purchaser phone number',
      code: 'Zip / Postal code',
      address: 'Delivery Address',
      logistics: 'Logistics',
      number: 'Number'
    }
  }

}
